From: Chong Yidong Date: Sat, 17 Mar 2007 18:26:21 +0000 (+0000) Subject: (read_key_sequence): Store original event into keybuf when replaying X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~1581 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=dc63f4df3177e2d61573a2dbff37a215588b47f7;p=emacs.git (read_key_sequence): Store original event into keybuf when replaying sequence with local keymap(s) from string. --- diff --git a/src/keyboard.c b/src/keyboard.c index 2e94c3cd2fb..34fc9f6aead 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -9403,6 +9403,8 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, if (!NILP (map) || !NILP (map2)) { from_string = string; + keybuf[t++] = key; + mock_input = t; goto replay_sequence; } }